package com.xy.biz.rs.domain.enums;

import com.xy.lang.enums.CodeEnum;

/**
 * 排序数据类型：1-模板组，2-模板项
 */
public enum RecordTemplateSequenceTypeEnum implements CodeEnum {
    RECORD_TEMPLATE_GROUP(1, "模板组"),
    RECORD_TEMPLATE_ITEM(2, "模板项");

    private int code;
    private String name;

    RecordTemplateSequenceTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
